package com.ruoyi.manage.mapper;

import java.util.List;
import com.ruoyi.manage.domain.FormSetting;
import com.ruoyi.manage.domain.FormSettingBig;

/**
 * 表单配置Mapper接口
 * 
 * @author zww
 * @date 2025-07-14
 */
public interface FormSettingMapper 
{
    /**
     * 查询表单配置
     * 
     * @param formSettingId 表单配置主键
     * @return 表单配置
     */
    public FormSetting selectFormSettingByFormSettingId(Long formSettingId);

    /**
     * 查询表单配置列表
     * 
     * @param formSetting 表单配置
     * @return 表单配置集合
     */
    public List<FormSetting> selectFormSettingList(FormSetting formSetting);

    /**
     * 新增表单配置
     * 
     * @param formSetting 表单配置
     * @return 结果
     */
    public int insertFormSetting(FormSetting formSetting);

    /**
     * 修改表单配置
     * 
     * @param formSetting 表单配置
     * @return 结果
     */
    public int updateFormSetting(FormSetting formSetting);

    /**
     * 删除表单配置
     * 
     * @param formSettingId 表单配置主键
     * @return 结果
     */
    public int deleteFormSettingByFormSettingId(Long formSettingId);

    /**
     * 批量删除表单配置
     * 
     * @param formSettingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFormSettingByFormSettingIds(Long[] formSettingIds);

    /**
     * 批量删除单大项
     * 
     * @param formSettingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFormSettingBigByFormSettingIds(Long[] formSettingIds);
    
    /**
     * 批量新增单大项
     * 
     * @param formSettingBigList 单大项列表
     * @return 结果
     */
    public int batchFormSettingBig(List<FormSettingBig> formSettingBigList);
    

    /**
     * 通过表单配置主键删除单大项信息
     * 
     * @param formSettingId 表单配置ID
     * @return 结果
     */
    public int deleteFormSettingBigByFormSettingId(Long formSettingId);

}
